<template>
 <div>
  御剑乘风来,除魔天地间!=====login
  <div class="box">
    <button @click="go">登录按钮</button>
  </div>
  <router-view></router-view>
 </div>
</template>
<script>
export default{
    name:'',
    data () {
        return {
            
        }
    },
    created () {
    },
    computed:{
    },
    methods:{
      go(){
        this.$router.push({name:'home'})
      }
    },
    destroyed
}
</script>
<style lang='less'  scoped>
    .box{
    button{
      background-color: skyblue;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  color: #444;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    }
    }
</style>


